package com.bbm.communitysystem.domain.dto.role;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


/**
 * <p>
 * 
 * </p>
 *
 * @author bbm
 * @since 2025-02-13
 */
@Data
@Schema(description = "路由实体类")
public class RouterDto {

    @Schema(description = "路由唯一标识")
    private Integer id;

    /**
     * 路由名称
     */
    @Schema(description = "路由名称", example = "用户管理模块")
    private String Name;

    /**
     * 路由页面地址路径
     */
    @Schema(description = "前端组件路径", example = "/system/user")
    private String PagePath;

    /**
     * 路由浏览器
     */
    @Schema(description = "接口路径", example = "/api/users/**")
    private String Url;

    /**
     * 上传者
     */
    @Schema(description = "最后更新人", example = "admin")
    private String updateBy;

    /**
     * 1启用 0不启用
     */
    @Schema(description = "启用状态", allowableValues = {"0", "1"}, defaultValue = "1")
    private Integer status;
}